interface ResponseData {
    code: number;
    message: string;
    ok: boolean;
}
export interface User{
    id?: number|string;
    createTime?: string;
    updateTime?: string;
    username?: string;
    password?: string;
    name?: string;
    phone?: any;
    roleName?: string;
}
export interface UserResponseData extends ResponseData{
    data:{
        records: User[];
        total: number;
        size: number;
        current: number;
        orders: any[];
        optimizeCountSql: boolean;
        hitCount: boolean;
        countId?: any;
        maxLimit?: any;
        searchCount: boolean;
        pages: number;
    }
}
// 职位ts
export interface RoleData {
    id?: number|string;
    createTime: string;
    updateTime: string;
    roleName: string;
    remark?: null;
}
export type AllRole = RoleData[]
export interface AllRoleResponseData extends ResponseData{
    data: {
        allRolesList:AllRole;
        assignRoles:AllRole
    };
}
//分配职位
export interface SetRoleData{
    roleIdList:number[],
    userId:number
}